
        :root {
            /* ===== Apple-inspired Minimal Palette ===== */
            --bg-main: #FFFFFF;
            --bg-secondary: #FBFBFB;
            --bg-muted: #F5F5F7;

            --accent: #007AFF; /* Apple Blue */
            --accent-hover: #0062CC;

            --text-main: #1D1D1F;
            --text-secondary: #86868B;
            --text-muted: #A1A1A6;

            --border-color: #D2D2D7;
            --border-light: #E5E5EA;

            --success: #34C759;
            --success-bg: rgba(52, 199, 89, 0.1);
            --warning: #FF9500;
            --warning-bg: rgba(255, 149, 0, 0.1);
            --danger: #FF3B30;
            --danger-bg: rgba(255, 59, 48, 0.1);

            --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
            --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.08);
            --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.12);

            --radius-lg: 22px;
            --radius-md: 16px;
            --radius-sm: 12px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-main);
            color: var(--text-main);
            line-height: 1.5;
            letter-spacing: -0.01em;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            padding-bottom: env(safe-area-inset-bottom);
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
        }

        ::selection { background: rgba(0, 122, 255, 0.2); color: var(--text-main); }

        /* ===== Nav ===== */
        nav {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-light);
            padding: 0.75rem 0;
        }

        .nav-content { display: flex; align-items: center; justify-content: space-between; }
        .logo { display: flex; align-items: center; text-decoration: none; gap: 0.75rem; }
        .logo img { height: 32px; width: auto; }

        /* ===== Hero ===== */
        .hero {
            padding: 5rem 0 3rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .pill-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 1rem;
            background: var(--bg-muted);
            border: 1px solid var(--border-light);
            border-radius: 9999px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .pulse { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

        .hero h1 {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(2.2rem, 5vw, 4rem);
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.03em;
            color: var(--text-main);
            margin-bottom: 1.25rem;
            max-width: 800px;
            animation: slideUp 0.6s ease-out both;
        }

        .hero h1 .gradient-text {
            color: var(--accent);
        }

        .hero p {
            font-size: clamp(1rem, 1.8vw, 1.2rem);
            color: var(--text-secondary);
            max-width: 600px;
            margin-bottom: 3rem;
            animation: slideUp 0.6s ease-out 0.1s both;
        }

        @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* ===== Upload Bay ===== */
        .upload-section { width: 100%; max-width: 700px; margin: 0 auto; animation: slideUp 0.6s ease-out 0.2s both; }

        .upload-card {
            background: var(--bg-main);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 3.5rem 2rem;
            text-align: center;
            box-shadow: var(--shadow-soft);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
        .upload-card:hover {
            box-shadow: var(--shadow-medium);
            transform: translateY(-2px);
        }
        .upload-card.drag-over {
            border-color: var(--accent);
            background-color: var(--bg-muted);
            box-shadow: var(--shadow-lift);
        }

        .upload-icon-wrapper {
            width: 64px; height: 64px;
            background: var(--bg-muted);
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--accent);
        }

        .upload-card h2 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.75rem; font-weight: 700;
            margin-bottom: 0.75rem; color: var(--text-main); letter-spacing: -0.02em;
        }
        .upload-card > p {
            color: var(--text-secondary); margin: 0 auto 2rem; max-width: 480px;
            font-size: 1rem;
        }

        .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
            min-height: 44px;
            padding: 0.6rem 1.5rem;
            border-radius: 9999px;
            font-weight: 600; font-size: 0.95rem; cursor: pointer;
            transition: all 0.2s ease;
            font-family: 'Inter', sans-serif;
            border: 1px solid transparent;
        }
        .btn-primary {
            background: var(--text-main); color: #fff;
        }
        .btn-primary:hover { background: #333; transform: translateY(-1px); }
        .btn-secondary {
            background: var(--bg-muted); color: var(--text-main);
            border-color: var(--border-light);
        }
        .btn-secondary:hover { background: var(--border-light); transform: translateY(-1px); }
        .btn:active { transform: translateY(0); opacity: 0.8; }

        .btn-teal {
            background: var(--accent); color: #fff; white-space: nowrap;
        }
        .btn-teal:hover { background: var(--accent-hover); transform: translateY(-1px); }

        input[type="file"] { display: none; }

        /* ===== Chat CTA ===== */
        .chat-cta-section { width: 100%; max-width: 700px; margin: 2rem auto 0; animation: slideUp 0.6s ease-out 0.3s both; }
        .chat-cta-card {
            display: flex; align-items: center; justify-content: space-between;
            gap: 1.5rem; flex-wrap: wrap;
            background: var(--bg-secondary);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-md); padding: 1.5rem;
            box-shadow: var(--shadow-soft);
        }
        .chat-cta-text h3 {
            font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700;
            color: var(--text-main); margin-bottom: 0.25rem; letter-spacing: -0.02em;
            display: flex; align-items: center; gap: 0.5rem;
        }
        .chat-cta-text h3 .spark { color: var(--accent); }
        .chat-cta-text p { color: var(--text-secondary); font-size: 0.9rem; max-width: 400px; }

        /* ===== Laser Scan Stage ===== */
        .scan-overlay {
            position: fixed; inset: 0; z-index: 250;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            display: none; align-items: center; justify-content: center; flex-direction: column; gap: 1.5rem;
            padding: 1.5rem;
        }
        .scan-overlay.active { display: flex; animation: fadeIn 0.25s ease; }
        .scan-frame {
            position: relative; width: min(320px, 80vw); aspect-ratio: 4/5;
            border-radius: var(--radius-md); overflow: hidden;
            border: 1px solid var(--border-light);
            box-shadow: var(--shadow-medium);
        }
        .scan-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .scan-line {
            position: absolute; left: 0; right: 0; top: 0; height: 3px;
            background: var(--accent);
            box-shadow: 0 0 12px var(--accent);
            animation: scanSweep 1.4s cubic-bezier(0.45,0,0.55,1) infinite;
            z-index: 2;
        }
        .scan-grid {
            position: absolute; inset: 0;
            background-image: linear-gradient(rgba(0,122,255,0.05) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(0,122,255,0.05) 1px, transparent 1px);
            background-size: 20px 20px;
            z-index: 1;
        }
        @keyframes scanSweep { 0% { top: 2%; } 50% { top: 96%; } 100% { top: 2%; } }
        .scan-caption { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-main); letter-spacing: 0.02em; }
        .scan-caption .dotpulse { color: var(--accent); }

        /* ===== Results — Bento Grid ===== */
        .results-section { display: none; max-width: 1000px; margin: 3rem auto; animation: fadeIn 0.5s ease-out; }
        .results-section.active { display: block; }

        .back-btn {
            display: inline-flex; align-items: center; gap: 0.5rem;
            min-height: 40px;
            color: var(--text-secondary); background: none; border: none;
            font-size: 0.9rem; font-weight: 500; cursor: pointer;
            margin-bottom: 2rem; transition: color 0.2s; font-family: 'Inter', sans-serif;
        }
        .back-btn:hover { color: var(--accent); }

        .bento {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        .card {
            background: var(--bg-main);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            padding: 1.75rem;
            box-shadow: var(--shadow-soft);
            opacity: 0; transform: translateY(18px);
        }
        .card.reveal { animation: cardIn 0.55s cubic-bezier(0.22,1,0.36,1) forwards; }
        @keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

        .card-a { grid-column: span 1; }
        .card-b { grid-column: span 1; }
        .card-c { grid-column: 1 / -1; }
        .card-d { grid-column: span 1; }
        .card-e { grid-column: span 1; }

        .card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.4rem; }
        .card-icon {
            width: 36px; height: 36px;
            background: var(--bg-muted);
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            font-size: 1rem; color: var(--accent); flex-shrink: 0;
        }
        .card-title {
            font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700;
            color: var(--text-main); letter-spacing: -0.02em;
        }

        .image-frame {
            position: relative; width: 100%; aspect-ratio: 4/3;
            border-radius: var(--radius-md); overflow: hidden;
            border: 1px solid var(--border-light);
            background: var(--bg-muted);
        }
        .image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

        /* Score ring */
        .score-display { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; position: relative; }
        .score-circle-wrapper { position: relative; width: 180px; height: 180px; }
        .score-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
        .score-bg { fill: none; stroke: var(--border-light); stroke-width: 10; }
        .score-progress {
            fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round;
            transition: stroke-dashoffset 1.4s cubic-bezier(0.34,1.1,0.4,1);
        }
        .score-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .score-value { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--text-main); line-height: 1; }
        .score-label-small { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
        .rating-tag {
            margin-top: 1.4rem; padding: 0.4rem 1.5rem;
            background: var(--text-main); color: #fff;
            border-radius: 9999px; font-weight: 700; font-size: 1.1rem;
            font-family: 'Outfit', sans-serif;
        }
        .rating-tag.bad { background: var(--danger); }

        /* Ingredient accordion */
        .ingredient-list { display: flex; flex-direction: column; gap: 0.75rem; }
        .ingredient-item {
            border: 1px solid var(--border-light);
            border-radius: var(--radius-sm);
            background: var(--bg-secondary);
            overflow: hidden;
            opacity: 0; transform: translateY(14px);
            transition: border-color 0.2s ease;
        }
        .ingredient-item.reveal { animation: cardIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }
        .ingredient-item.open { border-color: var(--accent); }
        .ing-head {
            width: 100%; display: flex; align-items: center; gap: 1rem;
            padding: 0.8rem 1rem; min-height: 44px;
            background: none; border: none; cursor: pointer; text-align: left;
            color: var(--text-main); font-family: 'Inter', sans-serif;
        }
        .status-indicator {
            width: 32px; height: 32px; border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; flex-shrink: 0; font-size: 0.85rem;
        }
        .status-safe { background: var(--success-bg); color: var(--success); border: 1px solid rgba(52,199,89,0.2); }
        .status-moderate { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(255,149,0,0.2); }
        .status-harmful { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(255,59,48,0.2); }
        .ing-name { flex: 1; font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
        .ing-chevron { color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
        .ingredient-item.open .ing-chevron { transform: rotate(180deg); color: var(--accent); }
        .ing-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
        .ingredient-item.open .ing-body { max-height: 300px; }
        .ing-body p { padding: 0 1rem 1rem 3.5rem; font-size: 0.85rem; color: var(--text-secondary); }

        /* Simple list */
        .simple-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
        .simple-list li {
            padding: 0.75rem 1rem; background: var(--bg-secondary);
            border-radius: 12px; border: 1px solid var(--border-light);
            font-size: 0.9rem; color: var(--text-secondary);
            display: flex; align-items: flex-start; gap: 0.75rem;
        }
        .simple-list li::before {
            content: ''; flex-shrink: 0; margin-top: 6px;
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--accent);
        }

        /* ===== Footer ===== */
        footer { margin-top: auto; padding: 3rem 0; text-align: center; border-top: 1px solid var(--border-light); }
        footer p { color: var(--text-muted); font-size: 0.8rem; }

        /* ===== Loading overlay ===== */
        .overlay {
            position: fixed; inset: 0; z-index: 100;
            background: rgba(255,255,255,0.8);
            backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
            display: none; align-items: center; justify-content: center; flex-direction: column; gap: 1.1rem;
        }
        .overlay.active { display: flex; }
        .spinner {
            width: 40px; height: 40px; border: 3px solid var(--border-light);
            border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite;
        }
        .loading-text { font-weight: 600; color: var(--text-main); font-family: 'Outfit', sans-serif; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ===== Toast ===== */
        .toast {
            position: fixed; bottom: 2rem; left: 50%;
            transform: translateX(-50%) translateY(120px);
            background: var(--text-main); color: #fff;
            padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: 500;
            box-shadow: var(--shadow-medium);
            opacity: 0; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); z-index: 400;
            max-width: 90vw; text-align: center;
        }
        .toast.active { transform: translateX(-50%) translateY(0); opacity: 1; }

        /* ===== Modals ===== */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 300;
            background: rgba(0,0,0,0.4);
            backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
            display: none; align-items: center; justify-content: center; padding: 1.25rem;
        }
        .modal-overlay.active { display: flex; animation: fadeIn 0.25s ease-out; }
        .modal {
            position: relative;
            background: var(--bg-main);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lift);
            width: 100%; max-width: 400px; max-height: 92vh; overflow-y: auto;
            padding: 2rem; text-align: center;
            animation: modalPop 0.3s cubic-bezier(0.34,1.56,0.64,1);
        }
        @keyframes modalPop { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        .modal-badge {
            display: inline-flex; align-items: center; gap: 0.4rem;
            padding: 0.3rem 0.8rem; border-radius: 9999px;
            background: var(--bg-muted); color: var(--text-main);
            border: 1px solid var(--border-light);
            font-weight: 600; font-size: 0.75rem; margin-bottom: 1rem;
        }
        .modal h2 {
            font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700;
            color: var(--text-main); margin-bottom: 0.5rem; letter-spacing: -0.02em;
        }
        .modal-sub { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }

        .qr-box {
            background: var(--bg-secondary); border: 1px solid var(--border-light);
            border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.25rem;
        }
        .qr-box img { width: 200px; height: 200px; max-width: 100%; border-radius: 12px; background: #fff; padding: 8px; display: block; margin: 0 auto; }
        .qr-price { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text-main); margin-top: 1rem; line-height: 1; }
        .qr-price span { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

        .info-note {
            background: var(--bg-muted); border: 1px solid var(--border-light);
            color: var(--text-secondary); border-radius: 12px; padding: 1rem;
            font-size: 0.8rem; font-weight: 500; text-align: left; line-height: 1.5; margin-bottom: 1.25rem;
        }

        .modal-actions { display: flex; flex-direction: column; gap: 0.75rem; }
        .btn-block { width: 100%; }

        /* OTP */
        .otp-group { display: flex; gap: 0.6rem; justify-content: center; margin: 0.5rem 0 1.5rem; }
        .otp-input {
            width: 44px; height: 52px;
            text-align: center; font-size: 1.3rem; font-weight: 600;
            font-family: 'Outfit', sans-serif; color: var(--text-main);
            border: 1px solid var(--border-color); border-radius: 10px;
            background: var(--bg-main); transition: all 0.2s;
        }
        .otp-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,122,255,0.1); }
        .otp-input.filled { border-color: var(--accent); }
        .otp-input.error { border-color: var(--danger); animation: shake 0.4s; }
        @keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

        /* ===== Chat ===== */
        .chat-section { display: none; max-width: 800px; margin: 3rem auto; animation: fadeIn 0.5s ease-out; }
        .chat-section.active { display: block; }

        .chat-window {
            background: var(--bg-main); border: 1px solid var(--border-light);
            border-radius: var(--radius-lg); box-shadow: var(--shadow-medium);
            display: flex; flex-direction: column; height: 72vh; min-height: 500px; overflow: hidden;
        }

        .chat-header {
            display: flex; align-items: center; gap: 0.85rem;
            padding: 1rem 1.4rem; border-bottom: 1px solid var(--border-light);
            background: var(--bg-secondary);
        }
        .chat-avatar {
            position: relative; width: 40px; height: 40px; border-radius: 10px;
            background: var(--text-main); display: flex; align-items: center; justify-content: center;
            font-size: 1.1rem; color: #fff; flex-shrink: 0;
        }
        .chat-header-info h4 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-main); }
        .chat-header-info span { font-size: 0.75rem; color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
        .chat-header-info span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }



        .chat-messages { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
        .msg {
            max-width: 80%; padding: 0.75rem 1rem; border-radius: 16px;
            font-size: 0.95rem; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word;
            animation: msgIn 0.3s ease-out;
        }
        @keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        .msg.user {
            align-self: flex-end; background: var(--accent); color: #fff;
            border-bottom-right-radius: 4px; font-weight: 500;
        }
        .msg.ai {
            align-self: flex-start; position: relative;
            background: var(--bg-muted); border: 1px solid var(--border-light);
            color: var(--text-main); border-bottom-left-radius: 4px;
        }

        .typing { display: inline-flex; gap: 4px; align-items: center; }
        .typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: 0.6; animation: typing 1.2s infinite; }
        .typing span:nth-child(2) { animation-delay: 0.2s; }
        .typing span:nth-child(3) { animation-delay: 0.4s; }
        @keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

        .prompt-pills {
            display: flex; gap: 0.6rem; padding: 0.85rem 1.25rem 0;
            overflow-x: auto; scrollbar-width: none;
        }
        .prompt-pills::-webkit-scrollbar { display: none; }
        .prompt-pill {
            flex-shrink: 0; min-height: 36px;
            padding: 0.4rem 0.9rem; border-radius: 9999px;
            background: var(--bg-muted); border: 1px solid var(--border-light);
            color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; cursor: pointer;
            white-space: nowrap; transition: all 0.2s; font-family: 'Inter', sans-serif;
        }
        .prompt-pill:hover { background: var(--border-light); color: var(--text-main); transform: translateY(-1px); }

        .chat-input-bar { display: flex; gap: 0.75rem; padding: 1rem 1.25rem; border-top: 1px solid var(--border-light); }
        .chat-input-bar input {
            flex: 1; min-height: 44px;
            border: 1px solid var(--border-color); border-radius: 12px;
            padding: 0.75rem 1rem; font-size: 0.95rem; font-family: 'Inter', sans-serif;
            color: var(--text-main); background: var(--bg-main); transition: all 0.2s;
        }
        .chat-input-bar input::placeholder { color: var(--text-muted); }
        .chat-input-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,122,255,0.1); }
        .chat-send {
            width: 44px; height: 44px; border: none; border-radius: 12px;
            background: var(--text-main); color: #fff; cursor: pointer;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
            transition: all 0.2s;
        }
        .chat-send:hover { background: #333; transform: translateY(-1px); }
        .chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

        /* ===== Mobile ===== */
        @media (max-width: 768px) {
            .container { padding: 0 1rem; }
            .hero { padding: 3.5rem 0 2.5rem; }
            .upload-card { padding: 3rem 1.25rem; }
            .chat-cta-card { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
            .btn-teal, .chat-cta-card .btn, .results-section .btn-teal { width: 100%; }
            .bento { grid-template-columns: 1fr; gap: 1rem; }
            .card-a, .card-b, .card-c, .card-d, .card-e { grid-column: 1 / -1; }
            .card { padding: 1.4rem; }
            .ing-body p { padding-left: 1.15rem; }
            .chat-section, .results-section { margin: 1rem auto; }
            .chat-window { height: 85vh; border-radius: var(--radius-md); }

            .modal-overlay { align-items: flex-end; padding: 0; }
            .modal {
                max-width: 100%; max-height: 90vh;
                border-radius: 28px 28px 0 0;
                padding: 1.25rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom));
                animation: sheetUp 0.35s cubic-bezier(0.34,1.2,0.5,1);
            }
            @keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
            .sheet-handle { display: block; width: 44px; height: 5px; border-radius: 9999px; background: var(--border-light); margin: 0 auto 1.25rem; }
            .otp-input { width: 40px; height: 50px; font-size: 1.2rem; }
        }
    