/* Sell Conmigo — "Sunset" palette (same family as Book Conmigo). Light mode only. */
:root {
  --terracotta: #E0603A;
  --terracotta-dark: #C04B28;
  --plum: #2B1B3D;
  --plum-soft: #4A3A5C;
  --marigold: #F4B23E;
  --cream: #FFF6EC;
  --white: #FFFFFF;
  --line: #EADBCB;
  --muted: #6E5F7A;
  --danger-text: #B3261E;
  --danger-bg: #FDE8E1;
  --tint: #FDE9D6;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--cream); color: var(--plum); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 28px 20px 64px; }
main.main-site { max-width: none; padding: 0; }
a { color: var(--terracotta-dark); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin: 0 0 10px; }
h2 { font-size: 1.25rem; margin: 0 0 8px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); color: var(--plum); padding: 10px 14px; }
.skip:focus { left: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--terracotta-dark); margin: 0 0 8px; }

/* Header */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-word span { color: var(--terracotta); }
.top-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.top-actions a { color: var(--plum); text-decoration: none; font-weight: 500; }
.top-actions a:hover { color: var(--terracotta-dark); }
.top-actions .lang { color: var(--muted); font-size: 0.92rem; }
form.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--plum); font-weight: 500; cursor: pointer; }
button.link:hover { color: var(--terracotta-dark); }

/* Buttons */
.btn { display: inline-block; background: var(--terracotta); color: var(--white) !important; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--terracotta-dark); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(224, 96, 58, 0.35); outline-offset: 2px; }
.btn-small { padding: 8px 16px; font-size: 0.92rem; }
.btn-big { padding: 15px 28px; font-size: 1.08rem; }
.btn-wide { display: block; width: 100%; }

/* Panels & forms */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 0 auto 20px; max-width: 760px; }
.panel.narrow { max-width: 460px; }
.form { display: grid; gap: 16px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form small { font-weight: 400; }
input[type=text], input:not([type]), input[type=email] { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--plum); width: 100%; }
input:focus { border-color: var(--terracotta); }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.slug-prefix { padding: 11px 0 11px 13px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.slug-field input { border: 0; border-radius: 0; padding-left: 2px; }
fieldset.choice { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
fieldset.choice legend { font-weight: 600; margin-bottom: 6px; width: 100%; }
.inline-choice { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 500 !important; }
.alert { background: var(--danger-bg); color: var(--danger-text); border-radius: 10px; padding: 10px 14px; }
.notice { background: var(--tint); border-radius: 10px; padding: 12px 16px; }

/* Home */
.hero { background: var(--cream); color: var(--plum); border-bottom: 1px solid var(--line); }
.hero-in { max-width: 1240px; margin: 0 auto; padding: 72px 24px 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; color: var(--plum); max-width: 12ch; }
.hero .eyebrow { color: var(--terracotta-dark); }
.hero .lead { font-size: 1.2rem; line-height: 1.55; max-width: 520px; margin: 0 0 30px; color: var(--plum-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.textlink { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 12px 4px; }

/* Hero devices: a sample storefront + the customer's order confirmation */
.devices { flex: 1 1 520px; min-width: 0; position: relative; height: 470px; }
.browser { position: absolute; left: 0; top: 10px; right: 64px; background: #FFFFFF; color: #2B1B3D; border: 1px solid #EADBCB; border-radius: 16px;
  overflow: hidden; box-shadow: 0 34px 70px -28px rgba(43, 27, 61, 0.45); font-size: 0.8rem; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #F6EDE2; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCCBB9; }
.browser-bar span { margin-left: 12px; color: #6E5F7A; font-size: 0.72rem; }
.browser-body { padding: 20px 96px 22px 20px; min-height: 370px; }
.shop-head { display: flex; align-items: center; gap: 12px; }
.shop-head b { display: block; font: 700 1rem var(--font-display); }
.shop-head small { color: #6E5F7A; }
.shop-avatar { width: 42px; height: 42px; border-radius: 50%; background: #E0603A; color: #FFF6EC; display: grid; place-items: center; font: 800 1.1rem var(--font-display); flex: none; }
.shop-drop { display: inline-block; margin: 12px 0 14px; padding: 4px 10px; border-radius: 999px; background: #FDE9D6; color: #C04B28; font-weight: 700; font-size: 0.72rem; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shop-item { border: 1px solid #EADBCB; border-radius: 12px; padding: 8px; display: grid; gap: 2px; position: relative; }
.shop-item b { font-size: 0.78rem; margin-top: 4px; }
.shop-item small { color: #6E5F7A; font-size: 0.72rem; }
.shop-item i { position: absolute; right: 8px; bottom: 8px; font-style: normal; font-weight: 700; font-size: 0.7rem; color: #FFFFFF; background: #E0603A; border-radius: 999px; padding: 3px 9px; }
.shop-img { height: 62px; border-radius: 8px; display: grid; place-items: center; }
.tone-a { background: linear-gradient(135deg, #E0603A, #C04B28); }
.tone-c { background: linear-gradient(135deg, #F4B23E, #E39A1F); }
.tone-d { background: linear-gradient(135deg, #A9745B, #7C503C); }
.tone-blue { background: linear-gradient(135deg, #7FB3D9, #4F8CC0); }
.tone-pink { background: linear-gradient(135deg, #F2A9A0, #E07F74); }
.tone-cream { background: linear-gradient(135deg, #E9C9A8, #D4A77E); }
.phone { position: absolute; right: 0; bottom: 0; width: 214px; height: 420px; background: #2B1B3D; border-radius: 36px; padding: 10px;
  box-shadow: 0 34px 70px -24px rgba(43, 27, 61, 0.6); }
.phone-screen { height: 100%; background: #FFFFFF; color: #2B1B3D; border-radius: 28px; padding: 28px 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; }
.phone-screen > b { font: 700 1.1rem var(--font-display); }
.phone-screen > small { color: #6E5F7A; line-height: 1.5; }
.phone-ok { width: 44px; height: 44px; flex: none; align-self: flex-start; border-radius: 50%; background: #FDE9D6; color: #C04B28; display: grid; place-items: center; }
.phone-paid { display: flex; justify-content: space-between; background: #FFF6EC; border-radius: 10px; padding: 10px; }
.phone-btn { display: block; text-align: center; background: #E0603A; color: #FFFFFF; border-radius: 999px; padding: 9px; font-weight: 700; font-size: 0.78rem; }
.phone-screen .phone-btn:first-of-type { margin-top: auto; }
.phone-btn.ghost { background: transparent; color: #2B1B3D; border: 1px solid #EADBCB; }
.band { max-width: 1040px; margin: 0 auto; padding: 44px 20px; }
.band-soft { border-top: 1px solid var(--line); }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature h2 { font-size: 1.08rem; }
.feature p { margin: 0; color: var(--plum-soft); }
.steps { padding-left: 1.2em; font-size: 1.05rem; }
.steps li { margin: 6px 0; }

/* Dashboard */
.store-card { display: grid; gap: 4px; margin-top: 14px; padding: 18px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.store-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.store-link { font-size: 1rem; background: none; color: var(--plum); word-break: break-all; }
.pill { justify-self: start; display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--marigold); color: var(--plum); font-size: 0.82rem; font-weight: 700; }
.pill-soft { background: var(--tint); margin: 0; }
.checklist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.checklist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }

/* Legal */
.legal h2 { font-size: 1.1rem; margin-top: 24px; }
.legal li { margin: 4px 0; }

/* Footer */
.site-foot { background: var(--white); color: var(--plum); border-top: 1px solid var(--line); margin-top: auto; }
.site-foot-in { max-width: 1040px; margin: 0 auto; padding: 36px 20px 24px; }
.site-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.site-foot-cols div { display: grid; gap: 6px; align-content: start; }
.site-foot a { color: var(--plum-soft); text-decoration: none; }
.site-foot a:hover { color: var(--terracotta-dark); text-decoration: underline; }
.site-foot-brand span { color: var(--muted); font-size: 0.92rem; }
.site-foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.site-foot-links { display: flex; gap: 16px; }

@media (max-width: 560px) {
  .top-in { flex-wrap: wrap; }
  .panel { padding: 20px; }
  .hero-in { padding: 44px 20px 48px; gap: 40px; }
  .devices { height: 400px; }
  .browser { right: 40px; }
  .browser-body { padding-right: 20px; }
  .phone { width: 180px; height: 360px; }
}
