/* americanaccentdecoded.com: one stylesheet, no scripts. The app's own look: paper, a serif for what is taught,
   one hue a surface, and the tiles' tones. */
:root {
  --paper: #faf8f3; --room: #efece5; --card: #ffffff; --ink: #141416; --quiet: #55555e; --line: rgba(20, 20, 22, .12);
  --navy: #162249; --deep: #080f26; --rose: #d43d18; --rose-deep: #692514; --rose-tint: #fedfd7; --band: #ffcf6b;
  --link: #2a3f9c; --radius: 24px; --wrap: 1080px;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b0c12; --room: #12131c; --card: #191b27; --ink: #f3f1ea; --quiet: #a9a8b5; --line: rgba(255, 255, 255, .14);
    --rose-deep: #ffd9cf; --rose-tint: #3a1a14; --link: #aebcff;
  }
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
u { text-decoration: none; background: linear-gradient(transparent 82%, currentColor 82%, currentColor 96%, transparent 96%); }
.held { opacity: .55; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 5; }

/* header and footer */
.top { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 650; }
.brand img { border-radius: 22%; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; }
.top nav a:hover { text-decoration: underline; }
.foot { background: var(--room); margin-top: 80px; padding: 48px 20px 28px; }
.foot .cols { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot h2 { font: 650 .95rem var(--sans); letter-spacing: 0; margin-bottom: 10px; color: var(--quiet); }
.foot a { display: block; padding: 3px 0; }
.foot .brand { margin-bottom: 10px; }
.foot p { color: var(--quiet); font-size: .95rem; }
.fine { max-width: var(--wrap); margin: 28px auto 0; font-size: .82rem; }

/* buttons and small pieces */
.btn { display: inline-block; background: linear-gradient(#d43d18, #b63514); color: #fff; font-weight: 650; text-decoration: none; padding: 12px 20px; border-radius: 14px; }
.btn.big { font-size: 1.1rem; padding: 16px 28px; border-radius: 16px; }
.btn.soon { background: linear-gradient(#22306a, #162249); }
a.btn:hover { filter: brightness(1.07); }
.eyebrow { font-weight: 650; font-size: .9rem; color: var(--rose); letter-spacing: .01em; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #ff9c85; } }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--quiet); margin: 18px 0 26px; max-width: 34em; }
.sub { color: var(--quiet); margin: 12px 0 26px; max-width: 40em; font-size: 1.05rem; }
.tag { display: inline-block; font: 650 .74rem var(--sans); letter-spacing: .02em; background: var(--rose-tint); color: var(--rose-deep); padding: 3px 9px; border-radius: 99px; vertical-align: middle; }
.hl { background: var(--band); color: #141416; padding: 0 .16em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.more { margin-top: 22px; font-weight: 600; }
.small { font-size: .88rem; color: var(--quiet); }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 56px; display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--quiet); font-weight: 550; font-size: .97rem; }
.proof li::before { content: "✓ "; color: var(--rose); font-weight: 700; }
.phone { display: block; justify-self: center; }
.phone img { width: min(330px, 78vw); border-radius: 38px; box-shadow: 0 2px 4px rgba(22, 34, 73, .12), 0 28px 60px -18px rgba(22, 34, 73, .38); border: 6px solid #10121c; background: #10121c; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; padding-top: 16px; } }

/* sections */
section { padding: 64px 20px; }
section > h2, section > .sub, .wrap, .steps, .reasons, .faq details, .faq h2 { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.demo, .course, .langs { background: var(--room); }
.card { background: var(--card); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 18px 40px -22px rgba(105, 37, 20, .35); }
.card.rose { color: var(--rose-deep); background: radial-gradient(120% 90% at 85% 0%, var(--rose-tint), transparent 60%), var(--card); max-width: 620px; }
.line { font: 1.15rem/1.5 var(--serif); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line .case { display: block; }
.line .ctx { font-style: italic; opacity: .9; }
.line .op { opacity: .7; padding: 0 .12em; }
.example { font-family: var(--serif); margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.example .written { font-size: 1.7rem; opacity: .85; }
.example .said { font-size: clamp(2.6rem, 8vw, 3.4rem); line-height: 1.1; }
.example .said b, .tile .s b, .said-list .s b { font-weight: 800; }

/* the tiles, in the tones of the app */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; max-width: 760px; }
.tile { border-radius: 14px; padding: 10px 14px 12px; color: #fff; font-family: var(--serif); text-shadow: 0 1px 1.5px rgba(0, 0, 0, .3); box-shadow: 0 2px 5px rgba(0, 0, 0, .14); }
.tile .w { display: block; font-size: 1rem; font-weight: 600; }
.tile .s { display: block; font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.tile u { background: linear-gradient(transparent 84%, #fff 84%, #fff 97%, transparent 97%); }
.blue { background: linear-gradient(#7fa3e2, #5f89d8); } .orange { background: linear-gradient(#dd9755, #cf8440); }
.sky { background: linear-gradient(#5fb9e3, #439fcf); } .coral { background: linear-gradient(#ea8b77, #de725d); }
.purple { background: linear-gradient(#8e80f4, #7663ee); } .green { background: linear-gradient(#6fbb62, #58a84c); }
.pink { background: linear-gradient(#e585c2, #d86bac); } .sand { background: linear-gradient(#d6a94f, #c7963a); }

/* how it works */
.how > h2, .why > h2 { text-align: center; }
.steps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 36px; text-align: center; }
.steps .phone img { width: min(250px, 70vw); border-radius: 30px; }
.steps h3 { margin: 22px 0 8px; font-size: 1.4rem; }
.steps p { color: var(--quiet); max-width: 22em; margin: 0 auto; }

/* the course */
.parts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.parts a { display: block; height: 100%; background: var(--card); border-radius: 20px; padding: 20px 22px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); border: 1px solid var(--line); }
.parts a:hover { border-color: var(--rose); }
.parts .count { color: var(--rose); font-weight: 650; font-size: .92rem; margin: 6px 0 8px; }
@media (prefers-color-scheme: dark) { .parts .count { color: #ff9c85; } }
.parts .eg { color: var(--quiet); font-size: .92rem; margin-top: 10px; font-family: var(--serif); font-style: italic; }
.reasons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 32px; }
.reasons li { background: var(--room); border-radius: 20px; padding: 22px; }
.reasons h3 { margin-bottom: 8px; }
.reasons p { color: var(--quiet); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 99px; font-weight: 550; }
.chips a:hover { border-color: var(--rose); color: var(--rose); }

/* questions */
.faq details { border-top: 1px solid var(--line); padding: 16px 2px; max-width: 760px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 650 1.12rem var(--serif); list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--quiet); }
.faq h2 { max-width: 760px; margin-bottom: 20px; }
.last { text-align: center; }
.last p { color: var(--quiet); margin: 12px 0 26px; }

/* reading pages */
.doc { max-width: 760px; margin: 0 auto; padding: 20px 20px 0; }
.doc.wide { max-width: 900px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.doc h3 { margin: 26px 0 10px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul:not(.tiles):not(.pairs):not(.said-list):not(.chips) > li { list-style: disc; margin-left: 1.25em; padding: 3px 0; }
.crumbs { font-size: .9rem; color: var(--quiet); margin-bottom: 22px; }
.crumbs a { color: var(--quiet); }
.doc .card { margin: 6px 0 8px; }
.rows > li { border-top: 1px solid var(--line); }
.rows > li > a, .rows > li > div { display: block; padding: 12px 2px; color: var(--ink); text-decoration: none; }
.rows > li > a b { color: var(--link); }
.rows b { font: 650 1.08rem var(--serif); }
.rows .line { border: 0; padding: 2px 0 0; font-size: 1rem; color: var(--quiet); }
.plan > li { border-top: 1px solid var(--line); padding: 16px 0; }
.plan h3 { margin: 0 0 4px; }
.plan .line { border: 0; padding: 0 0 6px; font-size: 1.02rem; color: var(--rose-deep); }
.note { margin-top: 8px; background: var(--rose-tint); color: var(--rose-deep); padding: 10px 14px; border-radius: 12px; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 12px; font-family: var(--serif); font-size: 1.12rem; }
.pairs li { background: var(--room); border-radius: 12px; padding: 9px 14px; }
.said-list li { padding: 10px 0; border-top: 1px solid var(--line); font-family: var(--serif); }
.said-list .w { display: block; color: var(--quiet); }
.said-list .s { display: block; font-size: 1.35rem; }
.term, .today { margin-top: 22px; color: var(--quiet); }
.appbox { margin: 44px 0 0; background: var(--room); border-radius: var(--radius); padding: 26px; text-align: center; }
.appbox p { margin-bottom: 14px; font: 600 1.15rem var(--serif); }
.appbox .small { margin: 14px 0 0; font: .88rem var(--sans); }
.turn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
