@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Kalam:wght@400;700&display=swap');

:root { --ink:#302e2a; --muted:#827a6e; --paper:#f7f0df; --line:#ded3bd; --coral:#ef806f; --yellow:#f6d86c; --mint:#c8e4d4; --lilac:#ded5ee; --white:#fffaf0; --shadow:0 18px 50px #75664a1a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:'DM Sans',sans-serif; background-image:radial-gradient(#c6b99c33 .7px,transparent .7px); background-size:16px 16px; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; border:0; }
.app-shell { max-width:1120px; margin:auto; padding:28px 42px 44px; }
.topbar { display:flex; justify-content:space-between; align-items:center; }
.brand { color:var(--ink); text-decoration:none; font-size:1.25rem; font-weight:700; display:flex; gap:8px; align-items:center; }
.brand-mark { display:grid; place-items:center; background:var(--coral); color:var(--white); width:28px; height:28px; border-radius:50%; }
.top-actions { display:flex; gap:10px; align-items:center; }
.icon-button,.avatar { background:#fffaf099; border:1px solid var(--line); width:38px; height:38px; border-radius:50%; display:grid; place-items:center; transition:transform .2s,background .2s; }
.icon-button:hover,.avatar:hover { transform:translateY(-2px); background:var(--white); }
.avatar { background:var(--ink); color:var(--paper); font-size:.8rem; font-weight:700; }
.hero { padding:88px 4px 72px; }
.hero-copy-block { max-width:900px; }
.eyebrow,.stat-label { font-size:.7rem; letter-spacing:.13em; text-transform:uppercase; color:var(--muted); font-weight:700; margin:0 0 13px; }
.hero h1 { font-size:clamp(2.8rem,6vw,5.6rem); line-height:.94; letter-spacing:-.06em; margin:0; }
.highlight { position:relative; z-index:0; white-space:nowrap; display:inline-block; font-size:.64em; line-height:1.05; }
.highlight:after { content:''; position:absolute; z-index:-1; left:-.05em; right:-.08em; bottom:.03em; height:.38em; transform:rotate(-1.5deg); opacity:.8; background:rgba(246,216,108,.48); }
.hero-copy { color:var(--muted); font-size:1.05rem; max-width:440px; line-height:1.6; margin:25px 0 0; }
.stats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:82px; }
.stat-card { padding:22px 24px; min-height:140px; box-shadow:0 8px 24px #75664a12; transform:rotate(-.5deg); }
.stat-card:nth-child(2) { transform:rotate(1deg); } .stat-card:nth-child(3) { transform:rotate(-1deg); }
.mint-paper { background:var(--mint); } .yellow-paper { background:#ffecab; } .lilac-paper { background:var(--lilac); }
.stat-card strong { display:block; font-size:2rem; letter-spacing:-.05em; margin:7px 0 9px; } .stat-card small { color:#625f55; font-size:.75rem; }
.section-rule { border-top:1px solid var(--line); padding-top:30px; margin-bottom:75px; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; margin-bottom:24px; } .section-heading h2 { font-size:2rem; letter-spacing:-.05em; margin:0; }
.local-pill { font-size:.72rem; color:var(--muted); border:1px dashed #b9ad94; padding:8px 11px; border-radius:20px; } .local-pill i { display:inline-block; width:7px; height:7px; border-radius:50%; background:#77ba88; margin-right:6px; }
.lazy-form { display:flex; gap:12px; } .lazy-form input,.search-box input,.toolbar select,.modal-form input,.modal-form select,.modal-form textarea { border:1px solid var(--line); background:#fffaf099; border-radius:4px; padding:14px 15px; outline:none; }
.lazy-form input { flex:1; font-size:1rem; } .lazy-form input:focus,.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.search-box:focus-within { border-color:var(--coral); box-shadow:0 0 0 3px #ef806f22; }
.primary-button { background:var(--coral); color:var(--white); padding:13px 20px; border-radius:4px; font-weight:700; box-shadow:3px 3px 0 #d15b50; } .primary-button:hover { transform:translate(-1px,-1px); }
#lazy-form .primary-button { min-width:220px; min-height:52px; padding:15px 28px; font-size:1rem; }
.form-hint { font-size:.72rem; color:var(--muted); margin:13px 0 0; } .text-button { background:transparent; color:var(--coral); font-weight:700; padding:5px 0; } .text-button:hover { text-decoration:underline; }
.toolbar { display:flex; gap:12px; margin-bottom:24px; } .search-box { display:flex; align-items:center; gap:8px; flex:1; border:1px solid var(--line); background:#fffaf099; padding:0 13px; border-radius:4px; } .search-box input { border:0; outline:0; background:transparent; padding-left:0; width:100%; }
.subscription-list { display:grid; gap:12px; } .subscription-item { display:grid; grid-template-columns:12px 1fr auto auto; gap:16px; align-items:center; background:#fffaf0b8; border-bottom:1px solid var(--line); padding:16px 18px; } .subscription-item:hover { background:var(--white); }
.accent { width:12px; height:48px; border-radius:2px; } .subscription-name { font-weight:700; } .subscription-meta { font-size:.75rem; color:var(--muted); margin-top:4px; } .renewal { text-align:right; } .renewal strong { display:block; } .renewal small { font-size:.7rem; color:var(--muted); } .item-price { font-weight:700; text-align:right; min-width:75px; } .item-actions { display:flex; gap:9px; } .item-actions button { background:transparent; color:var(--muted); font-size:.8rem; }
.empty-state { text-align:center; padding:45px 20px; border:1px dashed var(--line); color:var(--muted); } .empty-state strong { display:block; font-family:Kalam,cursive; font-size:1.6rem; color:var(--ink); margin-bottom:7px; }
footer { display:flex; justify-content:center; gap:10px; align-items:center; color:var(--muted); font-size:.72rem; padding-top:10px; } .footer-dot { color:var(--coral); }
.modal-dialog { border:0; padding:0; background:transparent; max-width:650px; width:calc(100% - 32px); } .modal-dialog::backdrop { background:#302e2a66; backdrop-filter:blur(3px); }
.modal-form { background:var(--white); padding:36px; border:1px solid var(--line); box-shadow:0 25px 70px #302e2a33; position:relative; } .modal-form h2 { font-size:2.2rem; letter-spacing:-.05em; margin:0 0 25px; } .close-button { position:absolute; top:17px; right:19px; background:transparent; color:var(--muted); font-size:1.5rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .modal-form label { font-size:.76rem; font-weight:700; color:var(--muted); display:grid; gap:7px; } .modal-form input,.modal-form select,.modal-form textarea { width:100%; font-size:.9rem; font-weight:400; } .wide-label { margin-top:14px; } .modal-actions { display:flex; justify-content:flex-end; gap:18px; align-items:center; margin-top:26px; } .compact-form { max-width:440px; } .privacy-copy { font-size:.9rem; line-height:1.6; color:var(--muted); margin-bottom:24px; }
.toast { position:fixed; bottom:25px; left:50%; transform:translate(-50%,20px); background:var(--ink); color:var(--paper); padding:12px 18px; border-radius:3px; font-size:.8rem; opacity:0; pointer-events:none; transition:all .25s; } .toast.visible { opacity:1; transform:translate(-50%,0); }
@media(max-width:700px) { .app-shell { padding:22px 18px 34px; } .hero { padding:60px 0 52px; } .hero h1 { font-size:3.55rem; } .highlight { font-size:.68em; } .stats-grid { gap:9px; margin-bottom:58px; } .stat-card { padding:16px 13px; min-height:122px; } .stat-card strong { font-size:1.35rem; } .stat-card small { font-size:.65rem; } .section-rule { margin-bottom:56px; } .section-heading h2 { font-size:1.65rem; } .lazy-form { display:block; } .lazy-form input { width:100%; margin-bottom:12px; } .primary-button { width:100%; } #lazy-form .primary-button { min-height:54px; } .toolbar { display:block; } .search-box { height:48px; margin-bottom:10px; } .toolbar select { width:100%; } .subscription-item { grid-template-columns:9px 1fr auto; gap:10px; padding:14px 10px; } .accent { width:9px; } .renewal { grid-column:2; text-align:left; } .item-price { grid-column:3; grid-row:1; min-width:auto; } .item-actions { grid-column:3; grid-row:2; } .modal-form { padding:28px 20px; } .form-grid { grid-template-columns:1fr; } .modal-form h2 { font-size:1.8rem; } footer { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; transition:none!important; } }
